# Maintainer: Willow Barraco <contact@willowbarraco.fr>
pkgname=hare-xml
pkgver=0_git20230921
_commit=6b90e482c431f072e9b3ce3ba4d9d5f59ffedef0
pkgrel=0
pkgdesc="XML support for Hare"
url="https://sr.ht/~sircmpwn/hare-xml"
arch="x86_64 aarch64 riscv64" # hare
license="MPL-2.0"
makedepends="hare"
source="
	$pkgname-$_commit.tar.gz::https://git.sr.ht/~sircmpwn/hare-xml/archive/$_commit.tar.gz
"
builddir="$srcdir/$pkgname-$_commit"

build() {
	make -j1 PREFIX=/usr
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
b498c36394018fac21b8f686d437831cecbefa863e6e6967cadd73a4f6af5e161d48eee5ca818ae1ac2f25f1680a869b65aa5beebed6f5e3839bcb1d1a782b7a  hare-xml-6b90e482c431f072e9b3ce3ba4d9d5f59ffedef0.tar.gz
"
